# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=eom
pkgver=1.28.0
pkgrel=0
pkgdesc="A simple graphics viewer for the MATE"
url="https://github.com/mate-desktop/eom"
arch="all"
license="GPL-2.0-or-later"
depends="mate-icon-theme libxml2-utils"
makedepends="glib-dev gtk+3.0-dev itstool mate-desktop-dev
	libexif-dev lcms2-dev dconf-dev dbus-dev librsvg-dev
	libxslt-dev libpeas-dev dbus-glib-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/eom-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--disable-static \
		--disable-schemas-compile \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
e500915f9e4b5aa8774645e0bf6735d7592fb9c33d6cca7a94011814ac414816d5ead8dae26a875f054249ca880f306f998c0150c9800df8143dd25a270c239f  eom-1.28.0.tar.xz
"
